﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MatrixWebApiCore.Entity.RequestModel
{
    /// <summary>
    /// 组合分析参数
    /// </summary>
    public class CombitTargetParames
    { 
        /// <summary>
        /// 指标数值，支持传多个，用逗号分隔，比如10,40,50
        /// </summary>
        public string TargetValue { get; set; } 
        /// <summary>
        /// 分析id
        /// </summary>
        public int AnalysisId { get; set; }
        /// <summary>
        /// 统计开始日期
        /// </summary>
        public string StartDate { get; set; }
        /// <summary>
        ///  统计结束日期
        /// </summary>
        public string EndDate { get; set; }
    }
    public class TargetParames
    {
        /// <summary>
        /// 指标数值，支持传多个，用逗号分隔，比如10,40,50
        /// </summary>
        public string TargetValue { get; set; }
        /// <summary>
        /// 产品id（基金id），获取基金基本信息查询用
        /// </summary>
        public int ProductId { get; set; }
        /// <summary>
        /// 分析id
        /// </summary>
        public int AnalysisId { get; set; }
        /// <summary>
        /// 统计开始日期
        /// </summary>
        public string StartDate { get; set; }
        /// <summary>
        ///  统计结束日期
        /// </summary>
        public string EndDate { get; set; }
        /// <summary>
        /// 请求类型，1=创盈一号周报，2=实盈Alpha自营盘周报
        /// </summary>
        public int Type { get; set; }
    }

    /// <summary>
    /// 混合图日期范围选择后重新计算结果
    /// </summary>
    public class GroupCalualteByDataChange
    { 
        /// <summary>
        /// 保存记录id,当只查询历史数据时传此参数，其他参数不用传
        /// </summary>
        public string SaveId { get; set; }
        /// <summary>
        /// 产品id（基金id）
        /// </summary>
        public int ProductId { get; set; }
        /// <summary>
        /// 分析id
        /// </summary>
        public int AnalysisId { get; set; }
        /// <summary>
        /// 统计开始日期
        /// </summary>
        public string StartDate { get; set; }
        /// <summary>
        ///  统计结束日期
        /// </summary>
        public string EndDate { get; set; }
    }

}
